﻿using MDPM.Foundation.SpecificationsForEntityModel;
using System;
using System.Collections.Generic;
using System.Text;

namespace MDPM.EntitiyModels.BusinessOrganization
{
    /// <summary>
    /// 租户组织部门：医院可以是科室、部门、厂商可以是车间
    /// </summary>
    public class OrganizationDepartment:Entity
    {
        /// <summary>
        /// 负责人
        /// </summary>
        public string ResponseEmployee { get; set; }
        /// <summary>
        /// 所属租户组织
        /// </summary>
        public Organization Organization { get; set; }
        /// <summary>
        /// 上级部门
        /// </summary>
        public OrganizationDepartment Parent { get; set; }
        public OrganizationDepartment()
        {
            this.Id = Guid.NewGuid();
        }
    }
}
